import { createApp } from 'vue'
import '@/index.scss'
import App from '@/App.vue'
import {router} from '@/router';
import {pinia} from '@/store'
import piniaPluginPersistedState from 'pinia-plugin-persistedstate'

import ElementPlus from 'element-plus'
// 手动导入组件库样式
import 'element-plus/dist/index.css'
import 'vxe-table/styles/cssvar.scss'
import {useVxeTable} from '@/plugin/useVxeTable'

const app = createApp(App)
app.use(ElementPlus)
app.use(router)
pinia.use(piniaPluginPersistedState)
app.use(pinia)
app.use(useVxeTable)
app.mount('#app')
